/**
 * @author 0283000115
 * @date 2017年10月8日-下午1:44:45
 */
package com.zte.claa.inficombo.csa.app.dao.mysql.impl;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.zte.claa.inficombo.csa.app.service.photo.bean.CameraPhotoData;
import com.zte.claa.inficombo.csa.app.service.photo.bean.CameraPhotoModel;
import com.zte.claa.inficombo.csa.app.service.photo.bean.PhotoDataQryPara;


/**
 * @author 0283000106
 *
 */

@Repository
public interface CameraPhotoDataMapper {
	//CameraPhotoData列表查询
	public List<CameraPhotoData> queryCameraPhotoDataList(@Param("p") PhotoDataQryPara p) throws Exception;
	
	//CameraPhotoData查询
	public CameraPhotoData queryCameraPhotoData(@Param("photoid") String photoid) throws Exception;
	
	//add CameraPhotoData	 
	public void addCameraPhotoData(@Param("d") CameraPhotoData d) throws Exception;
	
	//修改 CameraPhotoData。注意按设备类型是否为空进行选择性更新！
	public int updateCameraPhotoData(@Param("d") CameraPhotoData d) throws Exception;
	
	//删除ClaaDevInitState	 
	public int removeCameraPhotoData(@Param("photoid") String photoid) throws Exception;
	
	//查询AIC识别模式信息
	public CameraPhotoModel queryCameraPhotoModel(@Param("modelid") String modelid) throws Exception;

}
